package com.megaspacevr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 个人信息表-用户填写的个人资料
 * </p>
 *
 * @author yezi
 * @since 2025-06-17
 */
@Getter
@Setter
@ToString
@TableName("personal_info")
@Schema(name = "PersonalInfo", description = "个人信息表-用户填写的个人资料")
public class PersonalInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "所属设备标识")
    private String userToken;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "性别")
    private String gender;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "教育程度")
    private String education;

    @Schema(description = "职业")
    private String occupation;

    @Schema(description = "宗教信仰")
    private String religion;

    @Schema(description = "掌握语种(JSON格式存储)")
    private String languages;

    @Schema(description = "是否为默认选择")
    private Boolean isDefault;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;
}
